/* 关注内容页面样式 */
.following-container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 页面头部 */
.following-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.following-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.following-description {
    color: #b3b3b3;
    font-size: 16px;
    max-width: 700px;
    line-height: 1.6;
}

/* 搜索框 */
.search-box {
    position: relative;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border-radius: 20px;
    background-color: #333;
    border: 1px solid #444;
    color: #fff;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #1DB954;
    width: 300px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3b3b3;
    font-size: 14px;
}

/* 选项卡样式 */
.following-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
}

.tab-btn {
    background-color: transparent;
    color: #b3b3b3;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: #fff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1DB954;
}

/* 选项卡内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 统计卡片 */
.following-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: #282828;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #1DB954;
    margin-bottom: 10px;
}

.stat-label {
    color: #b3b3b3;
    font-size: 14px;
}

/* 区块标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.view-all-btn {
    background-color: transparent;
    color: #b3b3b3;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: #fff;
    text-decoration: underline;
}

/* 艺术家卡片 */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.artist-card {
    background-color: #282828;
    padding: 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.artist-card:hover {
    background-color: #333;
}

.artist-img {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 保持为正方形 */
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
}

.artist-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-img:hover .artist-overlay {
    opacity: 1;
}

.artist-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    text-align: center;
}

.artist-type {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 16px;
    text-align: center;
}

.artist-actions {
    text-align: center;
}

.follow-btn, .unfollow-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #b3b3b3;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-btn:hover {
    border-color: #1DB954;
    background-color: #1DB954;
}

.unfollow-btn {
    border-color: #1DB954;
}

.unfollow-btn:hover {
    border-color: #ff5252;
    color: #ff5252;
}

/* 播放按钮 */
.play-button {
    width: 40px;
    height: 40px;
    background-color: #1DB954;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: #000;
    font-size: 16px;
}

.play-button:hover {
    transform: scale(1.1);
    background-color: #1ed760;
}

/* 新发布卡片 */
.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.release-card {
    background-color: #282828;
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.release-card:hover {
    background-color: #333;
}

.release-img {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* 保持为16:9比例 */
    overflow: hidden;
}

.release-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.release-img:hover .release-overlay {
    opacity: 1;
}

.release-info {
    padding: 20px;
}

.release-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.release-artist {
    font-size: 14px;
    color: #1DB954;
    margin-bottom: 4px;
}

.release-date {
    font-size: 12px;
    color: #b3b3b3;
}

/* 演出列表 */
.event-list {
    margin-bottom: 40px;
}

.event-card {
    display: flex;
    align-items: center;
    background-color: #282828;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.event-card:hover {
    background-color: #333;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    margin-right: 20px;
}

.event-month {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 5px;
}

.event-day {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.event-info {
    flex-grow: 1;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.event-location {
    font-size: 14px;
    color: #b3b3b3;
}

.event-actions {
    margin-left: 20px;
}

.event-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #b3b3b3;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-btn:hover {
    border-color: #1DB954;
    background-color: #1DB954;
}

/* 空状态样式 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 48px;
    color: #b3b3b3;
    margin-bottom: 20px;
}

.empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.empty-message {
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 30px;
}

.find-friends-btn {
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.find-friends-btn:hover {
    background-color: #1ed760;
    transform: scale(1.05);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .release-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .following-container {
        padding: 20px;
    }
    
    .following-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-right {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-input:focus {
        width: 100%;
    }
    
    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .release-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        flex-direction: row;
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .event-month {
        margin-bottom: 0;
        margin-right: 5px;
    }
    
    .event-actions {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .event-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .following-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .tab-btn {
        padding: 12px 15px;
    }
    
    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .release-grid {
        grid-template-columns: 1fr;
    }
} 